export default [
  {
    path: '/inspection/evaluateManage',
    name: 'EvaluateManage',
    meta: {
      hidden: false,
      title: '质检评分表管理',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/evaluateManage')
  },
  {
    path: '/inspection/evaluateManage/questionnaire/:id',
    name: 'InsQuestionnaire',
    meta: {
      hidden: false,
      title: '评分表编辑器',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/evaluateManage/questionnaire')
  },

  {
    path: '/inspection/itemManage',
    name: 'ItemManage',
    meta: {
      hidden: false,
      title: '质检项目管理',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/itemManage')
  },
  {
    path: '/inspection/item/:id?',
    name: 'AddEditItem',
    meta: {
      hidden: false,
      title: '新增质检项目',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/itemManage/addEditItem')
  },

  {
    path: '/inspection/task/query',
    name: 'TaskQuery',
    meta: {
      hidden: false,
      title: '质检任务查询与处理',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/query')
  },
  // 质检评分
  {
    path: '/inspection/task/insEvalScore/:id',
    name: 'InsEvalScore',
    meta: {
      hidden: false,
      title: '质检评分',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/query/insEvalScore'),
    props: true
  },
  // 质检结果
  {
    path: '/inspection/task/previeEvalScore/:id',
    name: 'PreviewEvalScore',
    meta: {
      hidden: false,
      title: '质检评分结果',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/components/previeEvalScore'),
    props: true
  },
  {
    path: '/inspection/task/result',
    name: 'TaskResult',
    meta: {
      hidden: false,
      title: '质检结果查询与申诉',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/result')
  },
  {
    path: '/inspection/task/allege',
    name: 'TaskAllege',
    meta: {
      hidden: false,
      title: '申诉任务处理',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/allege')
  },
  // 申诉评分
  {
    path: '/inspection/task/allegeEvalScore/:id',
    name: 'AllegeEvalScore',
    meta: {
      hidden: false,
      title: '申诉评分',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/inspection/task/allege/allegeEvalScore'),
    props: true
  }
]
